package org.demo.base.auth.domain;

import lombok.*;

/**
 * 权限
 * @author tomdog
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Permission {

    private Long id;

    /**
     * 权限key
     */
    private String permissionKey;

    /**
     * 权限描述
     */
    private String desc;

    /**
     * 所属的roleKey，关联查询用
     */
    private String roleKey;
}
